body {
    margin: 0;
    background: -webkit-gradient(linear, left top, right top, color-stop(10%, #DAD299), color-stop(90%, #B0DAB9));
    background: linear-gradient(90deg, #DAD299 10%, #B0DAB9 90%);
    background: #494A5F;
    min-height: 100vh;
    color: #eee;
    font-size: 16px;
}
h2 {
    font-family: "SimSun", serif;
    font-size: 30px;
    position: fixed;
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #66677C;
}
nav ul {
    font-family: "Arial";
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
nav {
    position: absolute;
    width: 100%;
    top: 40%;
}
nav li a {
    display: block;
    font-size: 20px;
    text-align: center;
    padding: 10px 25px;
    color: #eee;
    font-family: "SimSun", serif;
}
nav li a:hover {
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}
nav li a:before, nav li a:after {
    opacity: 0;
    border-top: 1px solid white;
    content: '';
    display: block;
    position: relative;
    z-index: -1;
    margin: auto;
    width: 0px;
}
nav li a:before {
    top: 0px;
    transform: rotate(120deg) translateY(-50%) translateX(-50%);
}
nav li a:after {
    top: 5px;
    transform: rotate(-60deg) translateY(-50%) translateX(-50%);
}
nav li a:hover:before, nav li a:hover:after {
    transition: all 0.3s ease;
    opacity: 1;
    width: 20px;
}
footer {
    position: fixed;
    width: 100%;
    bottom: 10px;
    ;
    text-align: center;
}